package com.ms.service.module.analysisgroup.db.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.xpec.c4.db.model.log.basic.BasicLogModel;

/**
 * 使用物品的GAME LOG
 */
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = GameUseItemLogModel.ModelName)
public class GameUseItemLogModel extends BasicLogModel{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1089620065688526090L;
	
	public static final String ModelName = "game_use_item_log";
	
	/**物品SN*/
	private String itemSN;
	
	/**物品ID*/
	private String itemID;
	
	/**物品名稱*/
	private String itemName;
	
	/**精煉等級*/
	private int refineLevel;
	
//	/**物品描述*/
//	private String itemDesc;
	
	/**物品過期時間*/
	private Date experationTime;
	
	/**使用的玩家GUID*/
	private String playerGUID;
	
	/**使用的玩家名稱(帶nameNumber)*/
	private String playerName;
	
	/**遊戲類型*/
	private String gameType;
	
	/**使用遊戲*/
	private String gameName;
	
	/**使用局號*/
	private String useRoundNumber;
	
	/**當局獲得C幣(得分)*/
	private long score;

	public String getItemSN() {
		return itemSN;
	}

	public void setItemSN(String itemSN) {
		this.itemSN = itemSN;
	}

	public String getItemID() {
		return itemID;
	}

	public void setItemID(String itemID) {
		this.itemID = itemID;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

//	public String getItemDesc() {
//		return itemDesc;
//	}
//
//	public void setItemDesc(String itemDesc) {
//		this.itemDesc = itemDesc;
//	}

	public Date getExperationTime() {
		return experationTime;
	}

	public void setExperationTime(Date experationTime) {
		this.experationTime = experationTime;
	}

	public String getPlayerGUID() {
		return playerGUID;
	}

	public void setPlayerGUID(String playerGUID) {
		this.playerGUID = playerGUID;
	}

	public String getPlayerName() {
		return playerName;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}

	public String getGameType() {
		return gameType;
	}

	public void setGameType(String gameType) {
		this.gameType = gameType;
	}

	public String getGameName() {
		return gameName;
	}

	public void setGameName(String gameName) {
		this.gameName = gameName;
	}

	public String getUseRoundNumber() {
		return useRoundNumber;
	}

	public void setUseRoundNumber(String useRoundNumber) {
		this.useRoundNumber = useRoundNumber;
	}

	public long getScore() {
		return score;
	}

	public void setScore(long score) {
		this.score = score;
	}

	public int getRefineLevel() {
		return refineLevel;
	}

	public void setRefineLevel(int refineLevel) {
		this.refineLevel = refineLevel;
	}
	
}
